/*
 * Copyright (c) ShaoxiongDu <Shaoxiong.dev@aliyun.com> 2021 all Rights Reserved
 */

package zh.codegym.task.task09.task0918;


import java.io.FileNotFoundException;
import java.io.IOException;
/* 
相识是缘分，连异常都不例外
*/

public class Solution {
    public static void main(String[] args) {
    }

    static class MyException extends NumberFormatException {
        public MyException() throws Exception {
            throw new NumberFormatException();
        }
    }

    static class MyException2 extends NullPointerException {
        public MyException2() throws Exception {
            throw new NullPointerException();
        }
    }

    static class MyException3 extends FileNotFoundException {
        public MyException3() throws Exception {
            throw new FileNotFoundException();
        }
    }

    static class MyException4 extends IOException {
        public MyException4() throws Exception {
            throw new IOException();
        }
    }

}

